<template>
  <div class="annotated-graph">
    <echart :option="option"></echart>
    <div class="in">
      <p class="val">2809</p>
      <p class="key">测点数</p>
    </div>
  </div>
</template>
<script>
import echart from "@/components/echart/index.vue";
import opt from "./annotatedGraphOpt";
export default {
  components: {
    echart,
  },
  data() {
    return {
      option: opt,
    };
  },
  mounted() {},
  computed: {},
  methods: {},
};
</script>
<style scoped lang='scss'>
.annotated-graph {
  height: vh(220px);
  box-sizing: border-box;
  position: relative;
  .in {
    position: absolute;
    width: vh(140px);
    height: vh(140px);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    .key {
      font-family: Source Han Sans CN;
      font-size: vh(16px);
      color: #b3b3b3;
      margin: 0 auto;

    }
    .val {
      font-family: D-DIN-PRO;
      font-weight: bold;
      font-size: vh(30px);
      color: #dafdff;
      margin-bottom: vh(7px);
      margin: 0 auto;
    }
  }
}
</style>
